package ru.jkff.jalgebra.monoid;

/**
 * User: jkff
 * Date: Aug 21, 2009
 * Time: 8:39:10 PM
 */
public interface Aggregate<T,A> {
    A freshUnit();
    void pushInto(T t, A a);
    void mergeInto(A src, A dest);
}
